package com.dubbo.framework.consts;

/**
 * 常量
 *
 * @author by Mr. Li 2021/4/29 10:16
 */
public class DubboConstant {

    public static final String IPADDR = "127.0.0.1";
    public static final Integer PORT = 8082;

    // zk properties
    public static final String ZK_ADDR = "zk.address";
    //zk.session_timeout_ms=10 * 1000
    //zk.connection_timeout_ms=20 * 1000
    public static final String ZK_SESSION_TIMEOUT_MS = "zk.session_timeout_ms";

    public static final String ZK_CONNECTION_TIMEOUT_MS = "zk.connection_timeout_ms";
    // zk 服务上线 namespace
    public static final String ZK_REGISTER_NAMESPACE = "dubbo_register";
    // zk 服务地址 namespace
    public static final String ZK_ADDR_NAMESPACE = "dubbo.namespace";
    // namespace 后面的前缀
    public static final String ZK_SERVER_NAME_PREFIX = "server.name";
    // 服务 列表缓存
    public static final String ZK_LIST_CACHE = "consumer_listCache";

}
